package com.cobra.mall.domain.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("goods_info")
public class GoodsEntity {
    @TableField("id")
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("goods_name")
    private String goodsName;
    @TableField("stock")
    private Integer stock;
    @TableField("gmt_create")
    private String gmtCreate;
}
